package com.gxa.employment.common;


import com.gxa.employment.entity.pojo.Manager;

/**
 * @Description:
 * @Author:
 * @DateTime: 2025/3/18 16:03
 **/
public class ManagerThreadLocal {
    private static Manager manager;
    private static final ThreadLocal<Manager> threadLocal = new ThreadLocal<>();
    public static Manager get() {
        return manager;
    }
    public static void set(Manager m) {
        manager = m;
    }
    public static void remove() {
        threadLocal.remove();
    }

}
